package com.example.rbacmanage.base;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface BaseService <T>{
    public void save(T t);
    public void remove(Long[] ids);
    public void update(T t);
    public List<T> getAll(T t);
    public PageInfo<T> getPage(T t);
    public T getById(Long id);
    public Integer getCount(T t);
}
